<?php

namespace app\admin\model;

use think\Model;

class Login extends Model
{
    protected $table = 'user';
    //登录方法
    static public function loginTest($loginData){
    	return self::where($loginData)->find();

    }
}
